//
//  ZGLAboutThirdTVC.m
//  Faker
//
//  Created by dllo on 15/11/9.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import "ZGLAboutThirdTVC.h"

@implementation ZGLAboutThirdTVC

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.statementButton = [UIButton buttonWithType:UIButtonTypeSystem];
        self.secretButton = [UIButton buttonWithType:UIButtonTypeSystem];
        [self.contentView addSubview:self.statementButton];
        [self.contentView addSubview:self.secretButton];
    }
    return self;
    
}

-(void)layoutSubviews {
    [super layoutSubviews];
    self.secretButton.frame = CGRectMake(47.5 * ScaleX, 20 * ScaleX, 140 * ScaleX, 30 * ScaleX);
    [self.secretButton setTitle:@"隐私政策" forState:UIControlStateNormal];
    [self.secretButton setTitleColor:[UIColor colorWithWhite:0.417 alpha:1.000] forState:UIControlStateNormal];
    self.secretButton.layer.borderColor = [UIColor colorWithWhite:0.515 alpha:1.000].CGColor;
    self.secretButton.layer.borderWidth = 0.3;
    self.statementButton.frame = CGRectMake(187.5 * ScaleX, 20 * ScaleX, 140 * ScaleX, 30 * ScaleX);
    [self.statementButton setTitle:@"免责声明" forState:UIControlStateNormal];
    [self.statementButton setTitleColor:[UIColor colorWithWhite:0.417 alpha:1.000] forState:UIControlStateNormal];
    self.statementButton.layer.borderColor = [UIColor colorWithWhite:0.517 alpha:1.000].CGColor;
    self.statementButton.layer.borderWidth = 0.3;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
